Optimal. Leaf size=73 \[ \frac {8 i a^2 \sec ^3(c+d x)}{15 d (a+i a \tan (c+d x))^{3/2}}+\frac {2 i a \sec ^3(c+d x)}{5 d \sqrt {a+i a \tan (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.11, antiderivative size = 73, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {3494, 3493} \[ \frac {8 i a^2 \sec ^3(c+d x)}{15 d (a+i a \tan (c+d x))^{3/2}}+\frac {2 i a \sec ^3(c+d x)}{5 d \sqrt {a+i a \tan (c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3493
Rule 3494
Rubi steps
\begin {align*} \int \sec ^3(c+d x) \sqrt {a+i a \tan (c+d x)} \, dx &=\frac {2 i a \sec ^3(c+d x)}{5 d \sqrt {a+i a \tan (c+d x)}}+\frac {1}{5} (4 a) \int \frac {\sec ^3(c+d x)}{\sqrt {a+i a \tan (c+d x)}} \, dx\\ &=\frac {8 i a^2 \sec ^3(c+d x)}{15 d (a+i a \tan (c+d x))^{3/2}}+\frac {2 i a \sec ^3(c+d x)}{5 d \sqrt {a+i a \tan (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.28, size = 63, normalized size = 0.86 \[ -\frac {2 (3 \tan (c+d x)-7 i) \sec (c+d x) \sqrt {a+i a \tan (c+d x)} (\cos (2 (c+d x))-i \sin (2 (c+d x)))}{15 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.51, size = 62, normalized size = 0.85 \[ \frac {\sqrt {2} \sqrt {\frac {a}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}} {\left (40 i \, e^{\left (2 i \, d x + 2 i \, c\right )} + 16 i\right )}}{15 \, {\left (d e^{\left (4 i \, d x + 4 i \, c\right )} + 2 \, d e^{\left (2 i \, d x + 2 i \, c\right )} + d\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {i \, a \tan \left (d x + c\right ) + a} \sec \left (d x + c\right )^{3}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 1.19, size = 87, normalized size = 1.19 \[ \frac {2 \left (8 i \left (\cos ^{3}\left (d x +c \right )\right )+8 \left (\cos ^{2}\left (d x +c \right )\right ) \sin \left (d x +c \right )-i \cos \left (d x +c \right )+3 \sin \left (d x +c \right )\right ) \sqrt {\frac {a \left (i \sin \left (d x +c \right )+\cos \left (d x +c \right )\right )}{\cos \left (d x +c \right )}}}{15 d \cos \left (d x +c \right )^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 33.00, size = 225, normalized size = 3.08 \[ -\frac {{\left (-600 i \, \sqrt {2} \cos \left (2 \, d x + 2 \, c\right ) + 600 \, \sqrt {2} \sin \left (2 \, d x + 2 \, c\right ) - 240 i \, \sqrt {2}\right )} \sqrt {a}}{{\left (\cos \left (2 \, d x + 2 \, c\right )^{2} + \sin \left (2 \, d x + 2 \, c\right )^{2} + 2 \, \cos \left (2 \, d x + 2 \, c\right ) + 1\right )}^{\frac {1}{4}} {\left ({\left (225 \, \cos \left (4 \, d x + 4 \, c\right ) + 450 \, \cos \left (2 \, d x + 2 \, c\right ) + 225 i \, \sin \left (4 \, d x + 4 \, c\right ) + 450 i \, \sin \left (2 \, d x + 2 \, c\right ) + 225\right )} \cos \left (\frac {1}{2} \, \arctan \left (\sin \left (2 \, d x + 2 \, c\right ), \cos \left (2 \, d x + 2 \, c\right ) + 1\right )\right ) - {\left (-225 i \, \cos \left (4 \, d x + 4 \, c\right ) - 450 i \, \cos \left (2 \, d x + 2 \, c\right ) + 225 \, \sin \left (4 \, d x + 4 \, c\right ) + 450 \, \sin \left (2 \, d x + 2 \, c\right ) - 225 i\right )} \sin \left (\frac {1}{2} \, \arctan \left (\sin \left (2 \, d x + 2 \, c\right ), \cos \left (2 \, d x + 2 \, c\right ) + 1\right )\right )\right )} d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 5.95, size = 88, normalized size = 1.21 \[ \frac {8\,{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}\,\left ({\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}\,5{}\mathrm {i}+2{}\mathrm {i}\right )\,\sqrt {a-\frac {a\,\left ({\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}\,1{}\mathrm {i}-\mathrm {i}\right )\,1{}\mathrm {i}}{{\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1}}}{15\,d\,{\left ({\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1\right )}^2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {i a \left (\tan {\left (c + d x \right )} - i\right )} \sec ^{3}{\left (c + d x \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________